package pl.iachoo.ctl.tabory.ui.editors.vagons;

import java.util.List;

import pl.iachoo.ctl.tabory.dao.hibernate.vo.VagonVO;
import pl.iachoo.ctl.tabory.ui.selection.ISelection;

public class VagonSelection implements ISelection {

	private static final long serialVersionUID = 1L;

	private List<VagonVO> listVagons;
	private VagonVO selectedVagon;
	private boolean isEditing;
	private boolean isNew;

	public List<VagonVO> getListVagons() {
		return listVagons;
	}

	public void setListVagons(List<VagonVO> listVagons) {
		this.listVagons = listVagons;
	}

	public VagonVO getSelectedVagon() {
		return selectedVagon;
	}

	public void setSelectedVagon(VagonVO selectedVagon) {
		this.selectedVagon = selectedVagon;
	}

	public boolean isEditing() {
		return isEditing;
	}

	public void setEditing(boolean isEditing) {
		this.isEditing = isEditing;
	}

	public boolean isNew() {
		return isNew;
	}

	public void setNew(boolean isNew) {
		this.isNew = isNew;
	}

}
